package cn.zzuli.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients//开启feignclient
@EnableDiscoveryClient//注册服务中心发现
@SpringBootApplication
@EnableHystrix
public class OrderFeignHystrixMain80 {
    public static void main(String []args){
        SpringApplication.run(OrderFeignHystrixMain80.class,args);
    }
}
